package study2019.jedis;

import java.io.Serializable;

public class Hobby implements Serializable {

	private static final long serialVersionUID = -8052599275372006545L;
	static final String DEFAULT_HOBBIED_STUDY = "STUDY";
	static final String DEFAULT_HOBBIED_PLAY = "PLAY";
	private String description;
	private int team;
	private String name;

	public Hobby() {

	}

	public Hobby(int team, String name, String description) {
		this.team = team;
		this.name = name;
		this.description = description;

	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public int getTeam() {
		return team;
	}

	public void setTeam(int team) {
		this.team = team;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "\n Hobby [descrption=" + description + ", team=" + team + ", name=" + name + "]";
	}

}
